package cn.com.blueInfo.bpm.system.entity;

import cn.com.blueInfo.bpm.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 枚举项表
 * @author suxch
 * @since 2025-08-24 01:37:55
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "mc_sys_dict_item", autoResultMap = true)
@Schema(description = "枚举项表")
public class DictItem extends BaseEntity {

    /** ID */
    @TableId(type = IdType.INPUT)
    @Schema(description = "ID")
    private Long id;
    /** 字典表ID */
    @Schema(description = "字典表ID")
    private Long dictId;
    /** 枚举值（存储到业务表的实际值） */
    @Schema(description = "枚举值（存储到业务表的实际值）")
    private String itemValue;
    /** 枚举标签（展示用） */
    @Schema(description = "枚举标签（展示用）")
    private String itemLabel;
    /** 标签颜色（展示用） */
    @Schema(description = "标签颜色（展示用）")
    private String itemColor;
    /** 标签说明 */
    @Schema(description = "标签说明")
    private String description;

}
